{% extends "base.html" %}

<body>
{% block header %}
{% include "alert-menu.html" %}
{% endblock %}

{% block content %}
<div class="wrap">
	{% include "tree.html" %}
    <div class="wrap_left right">
        <div class="shenqing1">
        <h5 style="float:left;width:96%;margin-bottom:10px;">报警查看</h5>
	</div>
    <div class="caozuo_add">
    <table width="100%" border="0" cellpadding="0" cellspacing="0" >
		<tr>
		    <td width="11%" class="textalingR">监控名称：</td>
		    <td width="89%">{{ alert.mid }}</td>
		</tr>
		<tr>
		    <td class="textalingR">报警时间：</td>
		    <td>{{ alert.timestamp|date:"Y-m-d H:i:s" }}</td>
		</tr>
		<tr>
		    <td class="textalingR">持续时间：</td>
		    <td>{{ alert.downtime}}</td>
		</tr>
		<tr>
		    <td class="textalingR">对应主机：</td>
		    <td>{{ alert.host }}</td>
		</tr>
		<tr>
		    <td class="textalingR">故障类型：</td>
		    <td>{{ alert.rtype }}</td>
		</tr>
		<tr>
		    <td class="textalingR">报警原因：</td>
		    <td>{{ alert.reason }}</td>
		</tr>
		<tr>
		    <td class="textalingR">报警处理人：</td>
		    <td>{{ alert.uid }}</td>
		</tr>
		<tr>
		    <td class="textalingR"><a href="/alert/" style="margin-right:40px;width:80px">返回</a></td>
		</tr>
	</table>
    </div>
</div>
{% endblock %}

</body>
</html>
